package com.liuc.practice.ipersistent.test.dao;

import com.liuc.practice.ipersistent.test.pojo.User;
import org.dom4j.DocumentException;

import java.beans.IntrospectionException;
import java.beans.PropertyVetoException;
import java.lang.reflect.InvocationTargetException;
import java.sql.SQLException;
import java.util.List;

/**
 * @Author Liu Chang
 * @Date 2020/12/13 9:08 下午
 */
public interface IUserDAO {

    public List<User> selectAll(String statementId) throws Exception;

    public User selectOne(String statementId, User user) throws Exception;

    public void insert(String statementId, User user) throws Exception;

    public void update(String statementId, User user) throws Exception;

    public void delete(String statementId, User user) throws Exception;
}
